package day19.pack8;

public class Test {
    public static void main(String[] args) {
        Station station = new Station();
        Runnable r1 = () -> {
            for (int i = 0; i < 100; i++) {
                station.sell();
            }
        };
        new Thread(r1,"A").start();
        new Thread(r1,"B").start();
        new Thread(r1,"C").start();
        new Thread(r1,"D").start();
        new Thread(r1,"E").start();
        new Thread(r1,"F").start();
    }
}
